# !/usr/bin/evn python3
# -*- coding: utf-8 -*-
# File Name: serialize.py
# Created Date: 2017-12-20 10:13:57
class Serialize():

    def to_json(self):
        json_post = {n: getattr(self, n) for n in self.__table__.columns.keys()}
        return json_post



